app.factory('userMonitorService', [ '$resource', function($resource) {
    return $resource( '/GMS/userMonitor/:id/:action', {
        id:'@id',
        action : '@action'
    },{
        getUserMonitor: {
            method: 'GET',
            isArray: false
        },
        getService: {
            method: 'GET',
            isArray: false
        },
        getSystemService: {
            method: 'GET',
            isArray: false
        },
        getMonitorLogs: {
            method: 'GET',
            isArray: false
        }
    });
} ]);
